-- GENERATED SPELL FOR [Savage Hill Brute] --


function spell0_29623(pUnit, Event) --@Brute Force,Self--
pUnit:FullCastSpellOnTarget(54678,pUnit)
pUnit:RegisterEvent('Sorts_29623', 12316, 1)
end

function Sorts_29623(pUnit, Event)
local choix_sorts_29623 = math.random(0, 0)
if choix_sorts_29623 == 0 then
pUnit:RegisterEvent('spell0_29623', 1, 1)
end
end

function mob29623_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29623', math.random(1500, 3000), 1)
end

function mob29623_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29623_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29623_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29623, 1, 'mob29623_Action')
RegisterUnitEvent(29623, 2, 'mob29623_Leave')
RegisterUnitEvent(29623, 3, 'mob29623_Kill')
RegisterUnitEvent(29623, 4, 'mob29623_Die')
